| The Stream Object | ADO 2.5 |
| A Stream object represents a stream of text or binary data. | |
| Cancel | ADO 2.5 |
| Method | |
| Cancels execution of a pending asynchronous Open operation. | |
| Close | ADO 2.5 |
| Method | |
| Closes an open Stream. | |
| CopyTo | ADO 2.5 |
| Method | |
| Copies characters or bytes from one Stream to another. | |
| Flush | ADO 2.5 |
| Method | |
| Flushes the contents of the Stream to the underlying object. | |
| LoadFromFile | ADO 2.5 |
| Method | |
| Loads a stream from a file. | |
| Open | ADO 2.5 |
| Method | |
| Opens a Stream object from a URL or an existing Record, or creates a blank Stream. | |
| Read | ADO 2.5 |
| Returns: Variant | Method |
| Reads a number of bytes from the Stream. | |
| ReadText | ADO 2.5 |
| Returns: String | Method |
| Reads a number of characters from a text Stream. | |
| SaveToFile | ADO 2.5 |
| Method | |
| Saves an open Stream to a file. | |
| SetEOS | ADO 2.5 |
| Method | |
| Sets the current position to be the end of the Stream. | |
| SkipLine | ADO 2.5 |
| Method | |
| Skips a line when reading from a text Stream. | |
| Write | ADO 2.5 |
| Method | |
| Writes binary data to a Stream. | |
| WriteText | ADO 2.5 |
| Method | |
| Writes text data to a Stream. | |
| Charset | ADO 2.5 |
| Returns: String | Property |
| Identifies the character set used by the Stream. | |
| EOS | ADO 2.5 |
| Returns: Boolean | Property |
| Is set to True if the current position is the end of the Stream. Read only. | |
| LineSeparator | ADO 2.5 |
| Returns: LineSeparator Enum | Property |
| Indicates the character used to separate lines in a text Stream. The default is vbCrLf. | |
| Mode | ADO 2.5 |
| Returns: ConnectMode Enum | Property |
| Indicates the available permissions for modifying data in a Connection. | |
| Position | ADO 2.5 |
| Returns: Long | Property |
| Specifies the current position in the Stream. | |
| Size | ADO 2.5 |
| Returns: Long | Property |
| Indicates the length, in bytes, of the Stream. Read only. | |
| State | ADO 2.5 |
| Returns: ObjectState Enum | Property |
| Indicates whether the Stream is open or closed, and if open the state of asynchronous actions. Read only. | |
| Type | ADO 2.5 |
| Returns: StreamType Enum | Property |
| Indicates whether the Stream contains text or binary data. | |